package com.gpframework.module.purchase.service;

import com.gpframework.module.purchase.domain.GpPurchaseGramWeight;
import com.gpframework.module.purchase.domain.req.GpPurchaseIncomingInspectUpdate;
import com.gpframework.module.purchase.domain.vo.GpPurchaseGramWeightVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpPurchaseGramWeight
 * @Author gpframework
 * @Date 2024-01-09
 * @Version 1.0.0
 * @Description 采购克重Service接口
 */
public interface IGpPurchaseGramWeightService extends IService<GpPurchaseGramWeight> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-09
     * @Param [lqw]
     * @Return List<GpPurchaseGramWeightVo>
     */
    List<GpPurchaseGramWeightVo> listVo(QueryWrapper<GpPurchaseGramWeight> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-09
     * @Param [id]
     * @Return GpPurchaseGramWeightVo
     */
    GpPurchaseGramWeightVo getVoById(Long id);

    boolean addWeightMeter(GpPurchaseIncomingInspectUpdate gpPurchaseIncomingInspectUpdate);

    boolean copy(Long id, Integer copyNum);
}
